<?php 
	include_once 'thuvienham.php';
	include_once 'chucvu_db.php';

	class chucvu_bs 
	{
		//------------------Fields [3]------------------
			// #0
		private $MaChucVu = "";
		public function SetMaChucVu($MaChucVu)   { $this->MaChucVu = $MaChucVu;   }
		public function GetMaChucVu()            { return $this->MaChucVu;        }
			// #1
		private $TenChucVu = "";
		public function SetTenChucVu($TenChucVu) { $this->TenChucVu = $TenChucVu; }
		public function GetTenChucVu()           { return $this->TenChucVu;       }
			// #2
		private $GhiChu = "";
		public function SetGhiChu($GhiChu)       { $this->GhiChu = $GhiChu;       }
		public function GetGhiChu()              { return $this->GhiChu;          }

		//------------------Method------------------
		public function Them()
		{
			$data = new chucvu_db();
			return $data->Them($this->MaChucVu, $this->TenChucVu, $this->GhiChu);
		}

		public function Xoa()
		{
			$data = new chucvu_db();
			return $data->Xoa($this->MaChucVu);
		}

		public function CapNhat()
		{
			$data = new chucvu_db();
			return $data->CapNhat($this->MaChucVu, $this->TenChucVu, $this->GhiChu);
		}

		public function LayDanhSach()
		{
			$data = new chucvu_db();
			return $data->LayDanhSach($this->MaChucVu, $this->TenChucVu, $this->GhiChu);
		}

	}

